package cqrtplm.service;

import com.alibaba.fastjson.JSONObject;
import cqrtplm.dto.DesignDerivationDTO;
import cqrtplm.dto.PartFeatureDTO;
import cqrtplm.vo.PartFeatureVO;

import java.math.BigInteger;
import java.util.List;

public interface RTPartService {
    PartFeatureDTO getPartIba(PartFeatureVO vo);

    /**
     * 校验设计衍生
     * @param drawingCode
     * @return
     */
    DesignDerivationDTO verifyDesignDerivation(String drawingCode);

    void updatePartDescription(String workFlowContainerId);

//    void quicklyGenerateMaterialCode(BigInteger workFlowContainerId);

    void checkPartIfExistPublishVersion(List<JSONObject> params);

//    String queryPartIdByNumber(String number);

//    String queryPartIdByMasterNumber(String number);

    void collectMaterialCodeIntoFlow(BigInteger workFlowContainerId);
}
